package com.gitee.aurora.server.service.impl;

import com.gitee.aurora.server.dao.ReportDao;
import com.gitee.aurora.server.service.ReportServive;
import com.gitee.aurora.server.vo.PtSjzxVo;
import com.gitee.aurora.server.vo.ReportExport;
import com.gitee.aurora.server.vo.ReportVo;
import com.gitee.aurora.utils.PageParam;
import com.gitee.aurora.utils.Pagination;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportServiceImpl implements ReportServive {
    @Autowired
    private ReportDao reportDao;
    @Override
    public Pagination queryReport(ReportVo reportVo, PageParam pageParam) {
        return  reportDao.queryReport(reportVo,pageParam);
    }

    @Override
    public List<PtSjzxVo> querySjzxList() {
        return reportDao.querySjzxList();
    }

    @Override
    public List<ReportExport> reportExport(ReportVo reportVo) {
        return reportDao.reportExport(reportVo);
    }
}
